

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   ej.java

package com.zelix;

import java.io.*;
import java.util.*;

// Referenced classes of package com.zelix:
//            ui, hc, jc, kc, 
//            nc, oc, qc, it, 
//            zo, wp, cs, g5, 
//            cm, kl, nh, uh, 
//            vh, gv, sx, kb, 
//            zu, si, iu, gs, 
//            bs

public final class ej extends ui
{

    private static final String f = System.getProperty(z(z("8~g\013=-r{\017a?cd\034")));
    private ArrayList j;
    private ArrayList k;
    private static String z[];

    public ej(int i)
    {
        super(i);
        j = new ArrayList();
        k = new ArrayList();
    }

    protected void a(nh nh1, int i, int l)
    {
        it it1;
        PrintWriter printwriter;
        cs cs1;
        gv gv1;
        ByteArrayOutputStream bytearrayoutputstream;
        ByteArrayOutputStream bytearrayoutputstream1;
        ByteArrayOutputStream bytearrayoutputstream2;
        kb kb1;
        PrintWriter printwriter1;
        PrintWriter printwriter2;
        String s;
        ArrayList arraylist;
        HashSet hashset;
        nc anc[];
        hc ahc[];
        Enumeration enumeration;
        int i1;
        int i2;
        boolean flag;
        flag = iu.q;
        i2 = si.g;
        it1 = nh1.c();
        printwriter = nh1.n();
        cs1 = new cs(printwriter, vh.e().length(), nh1.y());
        gv1 = gv.b();
        bytearrayoutputstream = new ByteArrayOutputStream();
        bytearrayoutputstream1 = new ByteArrayOutputStream();
        bytearrayoutputstream2 = new ByteArrayOutputStream();
        kb1 = new kb(bytearrayoutputstream);
        printwriter1 = new PrintWriter(bytearrayoutputstream1);
        printwriter2 = new PrintWriter(bytearrayoutputstream2);
        s = vh.e();
        String s1 = s + z[14];
        printwriter.println(s1);
        System.out.println(s1);
        Hashtable hashtable = new Hashtable(27);
        arraylist = new ArrayList();
        hashset = new HashSet(13);
        anc = a(hashtable, arraylist, hashset, ((PrintWriter) (kb1)), nh1, ((bs) (cs1)));
        ahc = new hc[hashtable.size()];
        enumeration = hashtable.elements();
        i1 = 0;
        if(i2 == 0) goto _L2; else goto _L1
_L1:
        int j2 = vh.e;
        vh.e = ++j2;
_L4:
        ahc[i1] = (hc)enumeration.nextElement();
        i1++;
_L2:
        if(i1 >= ahc.length)
        {
            if(nh1.z())
                a(anc, printwriter);
            File afile[] = new File[arraylist.size()];
            arraylist.toArray(afile);
            sx sx1 = new sx(0);
            int j1 = it1.a(anc, ahc, hashset, afile, cs1, gv1, null, kb1, printwriter1, sx1, printwriter2);
            kb1.close();
            printwriter1.close();
            printwriter2.close();
            String s2 = bytearrayoutputstream1.toString();
            String s3 = bytearrayoutputstream.toString();
            String s4 = bytearrayoutputstream2.toString();
            System.out.println(zu.a(s.length() + 1, ' ') + z[22] + j1 + (j1 <= 1 ? z[20] : z[17]));
            if(s3.length() > 0)
            {
                int k1 = zu.a(s3, zo.e);
                printwriter.println(z[13]);
                printwriter.println(s3);
                System.err.println(zu.a(s.length() + 1, ' ') + k1 + (k1 <= 1 ? z[12] : z[18]) + z[21]);
            }
            if(sx1.b() > 0)
            {
                int l1 = sx1.b();
                printwriter.println(z[16]);
                printwriter.println(s2);
                System.out.println(zu.a(s.length() + 1, ' ') + l1 + (l1 <= 1 ? z[23] : z[15]) + z[19]);
            }
            printwriter.println(s4);
            if(flag)
            {
                int k2 = gs.b;
                gs.b = ++k2;
            }
            return;
        }
        if(true) goto _L4; else goto _L3
_L3:
    }

    public String a()
    {
        return z[9];
    }

    nc[] a(Hashtable hashtable, ArrayList arraylist, HashSet hashset, PrintWriter printwriter, nh nh1, bs bs)
    {
        Vector vector;
        int i;
        int l;
        int k1;
        k1 = si.g;
        vector = new Vector();
        i = j.size();
        l = 0;
        if(k1 == 0) goto _L2; else goto _L1
_L1:
        File file;
        Vector vector1;
        int i1;
        int j1;
        String s1;
label0:
        {
            String s = (String)j.get(l);
            s1 = oc.c(s);
            if(oc.a(s1))
            {
                file = new File(nh1.f(), s1);
                if(k1 == 0)
                    break label0;
            }
            file = new File(s1);
        }
label1:
        {
            if(file.exists())
            {
                a(file.getAbsolutePath(), vector, arraylist, hashtable, hashset, printwriter, nh1, bs);
                if(k1 == 0)
                    continue;
            }
            if(!s1.endsWith("*"))
                break MISSING_BLOCK_LABEL_389;
            s1 = s1.substring(0, s1.length() - 1);
            if(oc.a(s1))
            {
                file = new File(nh1.f(), s1);
                if(k1 == 0)
                    break label1;
            }
            file = new File(s1);
        }
        if(!file.exists() || !file.isDirectory())
            break MISSING_BLOCK_LABEL_303;
        a(file.getAbsolutePath(), vector, arraylist, hashtable, hashset, printwriter, nh1, bs);
        kc kc1 = new kc(file);
        vector1 = kc1.a();
        i1 = vector1.size();
        j1 = 0;
        if(k1 == 0) goto _L4; else goto _L3
_L3:
        String s2 = (String)vector1.elementAt(j1);
        a(s2, vector, arraylist, hashtable, hashset, printwriter, nh1, bs);
        j1++;
_L4:
        if(j1 < i1) goto _L3; else goto _L5
_L5:
        if(k1 == 0)
            continue;
        if(file.exists())
        {
            nh1.a("\"" + file.getAbsolutePath() + z[11]);
            if(k1 == 0)
                continue;
        }
        nh1.a("\"" + file.getAbsolutePath() + z[10]);
        if(k1 == 0)
            continue;
        nh1.a("\"" + file.getAbsolutePath() + z[10]);
        l++;
_L2:
        if(l >= i)
        {
            nc anc[] = new nc[vector.size()];
            vector.copyInto(anc);
            return anc;
        }
        if(true) goto _L1; else goto _L6
_L6:
    }

    public void a(uh uh1, nh nh1)
    {
        int i;
        int l;
        int i1;
        int j1;
        int k1;
        k1 = si.g;
        i = g();
        l = nh1.x();
        i1 = nh1.h();
        j1 = 0;
        if(k1 == 0) goto _L2; else goto _L1
_L1:
        uh uh2 = a(j1);
        uh2.a(this, nh1);
        if(uh2 instanceof cm)
        {
            cm cm1 = (cm)uh2;
            String s = cm1.d();
            if(j.contains(s))
            {
                nh1.e("\"" + s + z[6] + a() + z[2] + d() + z[3]);
                if(k1 == 0)
                    continue;
            }
            j.add(s);
            if(k1 == 0)
                continue;
        }
        if(uh2 instanceof g5)
        {
            g5 g5_1 = (g5)uh2;
            String s1 = g5_1.d();
            String s2 = s1.replace('\\', '/');
            if(!s2.equals(s1))
                nh1.e(z[8] + s1 + z[5] + s2 + z[1] + a() + z[2] + d() + ".");
            if(k.contains(s2))
            {
                nh1.e(z[8] + s2 + z[6] + a() + z[2] + d() + z[3]);
                if(k1 == 0)
                    continue;
            }
            k.add(s2);
            if(k1 == 0)
                continue;
        }
        nh1.a(getClass().getName() + z[4] + uh2.getClass().getName() + z[7] + j1 + z[0] + d() + ".");
        j1++;
_L2:
        if(j1 >= i)
        {
            b(nh1, l, i1);
            a(nh1, l, i1);
            return;
        }
        if(true) goto _L1; else goto _L3
_L3:
    }

    private void a(String s, Vector vector, ArrayList arraylist, Hashtable hashtable, HashSet hashset, PrintWriter printwriter, nh nh1, 
            bs bs)
    {
        File file;
        String as[];
        int i;
        int l;
        l = si.g;
        file = new File(s);
        if(file.isFile() && !file.isDirectory())
        {
            if(s.endsWith(z[26]))
            {
                vector.add(new nc(file));
                if(l == 0)
                    break MISSING_BLOCK_LABEL_363;
            }
            if(hc.b(s))
            {
                try
                {
                    File file1 = wp.a(file);
                    wp.a(file1, vector, hashtable, k, hashset, file.getAbsolutePath(), null, bs);
                    break MISSING_BLOCK_LABEL_363;
                }
                catch(IOException ioexception)
                {
                    nh1.a(z[32] + qc.a + z[27] + ioexception);
                }
                if(l == 0)
                    break MISSING_BLOCK_LABEL_363;
            }
            if(s.endsWith(z[25]))
            {
                arraylist.add(file);
                if(l == 0)
                    break MISSING_BLOCK_LABEL_363;
            }
            nh1.a(z[28] + file.getAbsolutePath() + z[31]);
            if(l == 0)
                break MISSING_BLOCK_LABEL_363;
        }
        if(file.isFile() || !file.isDirectory())
            break MISSING_BLOCK_LABEL_306;
        as = file.list(new jc());
        if(as == null)
            break MISSING_BLOCK_LABEL_363;
        i = 0;
        if(l == 0) goto _L2; else goto _L1
_L1:
        File file2 = new File(file, as[i]);
        vector.addElement(new nc(file2));
        i++;
_L2:
        if(i < as.length) goto _L1; else goto _L3
_L3:
        if(l == 0)
            break MISSING_BLOCK_LABEL_363;
        printwriter.println(file.getPath() + z[29] + file.isDirectory() + z[30] + file.isFile());
    }

    private void a(nc anc[], PrintWriter printwriter)
    {
        int i;
        int l;
        int i1;
        i1 = si.g;
        i = anc.length;
        l = 0;
        if(i1 == 0) goto _L2; else goto _L1
_L1:
        nc nc1 = anc[l];
        printwriter.println("\t" + nc1.d() + (nc1.f() ? "" : z[24] + nc1.b()));
        l++;
_L2:
        if(l >= i)
            return;
        if(true) goto _L1; else goto _L3
_L3:
    }

    private static char[] z(String str) {
        char ac[] = str.toCharArray();
        int clen = ac.length;
        if (clen >= 2)
            return ac;
        ac[0] ^= 0x13;
        return ac;
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x5e;
                    break;
                case 1:
                    key =23;
                    break;
                case 2:
                    key = 11;
                    break;
                case 3:
                    key =110;
                    break;
                default:
                    key =19;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static 
    {
        String as[] = new String[33];
        as[0] = z(z("~v\177N\1777ynN"));
        as[1] = z(z("|7b\0003|"));
        as[2] = z(z("|7x\032r*rf\013}*7j\03232~e\0133"));
        as[3] = z(z("p7M\007a-c+\001p=by\034v0tnNd7{gNq;7~\035v:9"));
        as[4] = z(z("~\177j\n3"));
        as[5] = z(z("|7h\006r0pn\n3*x+C1"));
        as[6] = z(z("|7j\036c;vy\03533xy\0133*\177j\00031yh\01337y+L"));
        as[7] = z(z("~vxNp6~g\n3"));
        as[8] = z(z("s5"));
        as[9] = z(z("1gn\0"));
        as[10] = z(z("|7o\001v-7e\001g~rs\007`*"));
        as[11] = z(z("|7b\03530x\177Nr~sb\034v=cd\034j"));
        as[12] = z(z("~ry\034|,"));
        as[13] = z(z("\033ey\001a-7o\013g;t\177\013w~s~\034z0p+\002|?s%@="));
        as[14] = z(z("~X{\013}7ylNp2vx\035v-9%@"));
        as[15] = z(z("~V['3)vy\000z0px"));
        as[16] = z(z("\037GBNp?{g\0353:r\177\013p*roNg6v\177N~?n+\000|*7i\01336ve\n\177;s+\017f*xf\017g7tj\002\177'9%@"));
        as[17] = z(z("~tg\017`-rx"));
        as[18] = z(z("~ry\034|,d"));
        as[19] = z(z("~sn\032v=cn\n3:by\007}97d\036v09"));
        as[20] = z(z("~tg\017`-"));
        as[21] = z(z("~sn\032v=cn\n3:by\007}97d\036v06"));
        as[22] = z(z("\021gn\000v:7"));
        as[23] = z(z("~`j\034}7yl"));
        as[24] = z(z("~x{\013};s+\ba1z+"));
        as[25] = z(z("p}j\n"));
        as[26] = z(z("ptg\017`-"));
        as[27] = z(z("y71N"));
        as[28] = z(z("\030~g\0133y"));
        as[29] = z(z("~td\033\177:y,\0323<r+\034v=xl\000z$roN>~~x*z,rh\032|,n#G."));
        as[30] = z(z("~~x(z2r#G."));
        as[31] = z(z("y7e\001g~v+\034v=xl\000z$roNg'gn@"));
        as[32] = z(z("\035x~\002w~yd\0323=en\017g;7\177\013~.xy\017a'7m\007\177;7b\0003y"));
        z = as;
    }
}